function initialize()
{
	var button = document.getElementById( 'menu' );
	button.onmouseover = showElement;
	
	var form = document.getElementById( 'formSign' );
	if (form != undefined)
	{
		form.onsubmit = checkForm;
	}
	
	var password = document.getElementById('password');
	if (password != undefined)
	{
		password.onchange = getSafety;
	}
	
	var slide = document.getElementById( 'startSlide' );
	if (slide != undefined)
	{
		startSlide();	
	}
	
	var start = document.getElementById('startGame');
	if (start != undefined)
	{
		start.onclick = startGame;
	}
}
window.onload = initialize;